package com.an.es.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * 简单ES属性
 *
 * @author Ann
 * @date 2024/06/29
 */
@Data
@Component
@ConfigurationProperties(prefix = "easy-es")
public class EasyEsProperties {

    /**
     * 是否开启
     */
    private Boolean enable;

    /**
     * 地址
     */
    private String address;

}
